import { defineStore } from 'pinia'

export const useMainStore = defineStore('main', {
  state: () => {
    return {
      count: 100,
      checkProjectId: 0
    }
  },

  //相当于 computed， 封装计算属性 有缓存的功能
  getters: {},

  //相当于 methods， 封装业务逻辑， 修改state
  actions: {},
})
